home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / The Hacks! / Transport Independent Speech / SpokenSerialApp / Speaking.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-16  |  327 b   |  16 lines  |  [TEXT/CWIE]

  1. #ifndef __SPEAKING__
  2. #include "Speaking.h"
  3. #endif
  4.  
  5. OSErr        GetNewSpeechChan        (const SpeechChannel * const theSpeechChan)
  6. {
  7.     OSErr        theErr        = noErr;
  8.  
  9.     theErr = NewSpeechChannel (nil, theSpeechChan);
  10.     if (theErr != noErr || theSpeechChan == nil) {
  11.         DebugStr ("\pGetNewSpeechChan (NewSpeechChannel) error");
  12.     }
  13.  
  14.     return theErr;
  15. }
  16.